<template>
  <div style="position: relative">
    <!--专场列表-->
    <special-list title="special" :specialList="specialList" :release="release"></special-list>

  </div>
</template>

<script>
  import {getStatusMapByKey} from '../../../../assets/js/tools.js';
  import {getMyFollowers} from '../../../../assets/js/getData';
  export default {
    name: "followSpecial",
    data(){
      return {
        specialList:[],//专场列表
        release:null,//专场状态，已发布

      }
    },
    created(){
      let eSpecialStatus = getStatusMapByKey('eSpecialStatus');
      this.release =  eSpecialStatus['release'].val;//已发布

      this.getSpecialList();
    },
    methods:{
      // 获取专场列表
      getSpecialList(){
        getMyFollowers().then(res => {
          if(res.data.reqResult.code>0){
            console.log(res);
            this.specialList = res.data.data.specialList;
          }else {
            Toast(res.data.reqResult.msg);
          }
        })
      },

    }
  }
</script>

<style scoped>

</style>
